.class Lde/dealdoktor/app/activities/TopDealsDetails$1;
.super Ljava/lang/Object;
.source "TopDealsDetails.java"

# interfaces
.implements Landroid/support/v4/view/ViewPager$OnPageChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lde/dealdoktor/app/activities/TopDealsDetails;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lde/dealdoktor/app/activities/TopDealsDetails;


# direct methods
.method constructor <init>(Lde/dealdoktor/app/activities/TopDealsDetails;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lde/dealdoktor/app/activities/TopDealsDetails$1;->this$0:Lde/dealdoktor/app/activities/TopDealsDetails;

    .line 28
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPageScrollStateChanged(I)V
    .locals 0
    .parameter "state"

    .prologue
    .line 44
    return-void
.end method

.method public onPageScrolled(IFI)V
    .locals 0
    .parameter "position"
    .parameter "positionOffset"
    .parameter "positionOffsetPixels"

    .prologue
    .line 39
    return-void
.end method

.method public onPageSelected(I)V
    .locals 2
    .parameter "position"

    .prologue
    .line 32
    iget-object v0, p0, Lde/dealdoktor/app/activities/TopDealsDetails$1;->this$0:Lde/dealdoktor/app/activities/TopDealsDetails;

    iput p1, v0, Lde/dealdoktor/app/activities/TopDealsDetails;->currentPostIndex:I

    .line 33
    iget-object v1, p0, Lde/dealdoktor/app/activities/TopDealsDetails$1;->this$0:Lde/dealdoktor/app/activities/TopDealsDetails;

    sget-object v0, Lde/dealdoktor/app/App;->topDeals:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lde/dealdoktor/app/data/PostDAO;

    invoke-virtual {v1, v0}, Lde/dealdoktor/app/activities/TopDealsDetails;->setCurrentPost(Lde/dealdoktor/app/data/PostDAO;)V

    .line 34
    return-void
.end method
